using System;
using System.Collections.Generic;

namespace HISModels.Entities
{
	public class Address
	{
		public int Id { get; set; }
		public Nullable<int> PatientId { get; set; }
		public Nullable<int> PatientRelativeId { get; set; }
		public Nullable<int> BankId { get; set; }
		public Nullable<int> SupplierId { get; set; }
		public Nullable<int> DoctorExtId { get; set; }
		public Nullable<int> HospitalId { get; set; }
		public Nullable<int> InsuranceId { get; set; }
		public int TypeId { get; set; }
		public Nullable<int> CountryId { get; set; }
		public Nullable<int> ProvinceId { get; set; }
		public string ZipCode { get; set; }
		public string State { get; set; }
		public Nullable<int> AreaId { get; set; }
		public string AddressDesc { get; set; }
		public Nullable<int> CityId { get; set; }
		public string PhoneNumber { get; set; }
		public Nullable<int> RecordStatus { get; set; }
		public string Fax { get; set; }
		public virtual Bank Bank { get; set; }
		public virtual DoctorExt DoctorExt { get; set; }
		public virtual Insurance Insurance { get; set; }
		public virtual PatientRelative PatientRelative { get; set; }
		public virtual Patient Patient { get; set; }
		public virtual RefHu RefHu { get; set; }
		public virtual Supplier Supplier { get; set; }
	}
}

